package com.yowasa.xiuxian.annoations;

import org.springframework.stereotype.Component;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 指令注解 用于匹配&过滤指令
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Component
public @interface NOTIFY {
    /**
     * 指令名
     * @return
     */
    String tag();


}
